<template>
  <nav>
    <router-link to="/">单一文件上传「FORM-DATA」</router-link> |
    <router-link to="/base64">单一文件上传「BASE64」</router-link>
    <router-link to="/thumb">单一文件上传「缩略图处理」</router-link>
    <router-link to="/progress">单一文件上传「进度条管控」</router-link>
    <router-link to="/multi">多文件上传</router-link>
    <router-link to="/drag">拖拽上传</router-link>
    <router-link to="/large">大文件上传</router-link>
  </nav>
  <router-view />
</template>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

nav {
  padding: 30px;
  line-height: 30px;
}

nav a {
  font-weight: bold;
  color: #2c3e50;
  margin: 0 10px;
}

.card {
  padding: 30px 20px;
}
.card h3 {
  margin-bottom: 10px;
  line-height: 30px;
}
.upload_box {
  padding: 15px 10px;
}

nav a.router-link-exact-active {
  color: #42b983;
}
</style>
